package com.chatdating.entity.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class CommentDto {
    @NotNull(message = "用户ID不能为空")
    private Integer userId;

    @NotNull(message = "用户名不能为空")
    private String userName;

    @NotBlank(message = "评论内容不能为空")
    private String content;
}
